
function __G__TRACKBACK__(errorMessage)
    print("----------------------------------------")
    print("LUA ERROR: " .. tostring(errorMessage) .. "\n")
    print(debug.traceback("", 2))
    print("----------------------------------------")
end

package.path = package.path .. ";src/?.lua"
package.path = package.path .. ";src/"

cc.FileUtils:getInstance():setPopupNotify(false)

require("config")
require("cocos.init")
require("quick.init")
require("quick.shortcodes")
require("quick.cc.init")

require "app.utils.MathExtend"
require "app.utils.DisplayExtend"
require "app.configs.ResConfig"
require "app.configs.Enums"

math.randomseed(os.clock())

print("main_test")

--unit test
require('test.luaunit')
require("test.test_base")
--require("test.test_lsqlite3")
require("test.test_pbc")
--equire("test.test_packet")
require("test.test_crontab")

--require("test/test_connecter")
--require("test.test_userdao")
--require('test.test_performance')



LuaUnit.verbosity = 2
LuaUnit.run()

